﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Entities;
using DAL;

namespace BLL
{
   public class LoaiSPBLL
    {
       public static List<LoaiSP> LayTatCa()
       {
           return LoaiSPDAL.LayTatCa();
       }
       public static bool Them(LoaiSP sp)
       {
           return LoaiSPDAL.Them(sp);
       }
       public static bool Sua(LoaiSP sp)
       {
           return LoaiSPDAL.Sua(sp);

       }
       public static bool Xoa(string Id)
       {
           return LoaiSPDAL.Xoa(Id);
       }
       public static LoaiSP LayID(string Id)
       {
           return LoaiSPDAL.LayID(Id);
       }
       public static List<LoaiSP> TimKiemLoaiSP(string ten)
       {
           return LoaiSPDAL.TimKiemLoaiSP(ten);
       }
    }
}
